import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
// 通用字体
import 'vfonts/Lato.css';
// 等宽字体
import 'vfonts/FiraCode.css';
// css
import './assets/css/main.scss';
import { setupNaive } from '/@/plugins';

const app = createApp(App);

app.use(router);

// 注册全局常用的 naive-ui 组件
setupNaive(app);

router.isReady().then(() => {
  app.mount('#app');
});
